/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout/index.vue'

const busicRouter = [
  {
    path: '/busic',
    component: Layout,
    name: 'busic',
    meta: {
      title: '系统设置',
      icon: 'Setting',
    },
    children: [
      {
        path: 'platform',
        component: () => import('@/views/busic/platform/index.vue'),
        name: 'Platform',
        meta: { title: '商家信息', keepAlive: true },
      },
      {
        path: 'role',
        component: () => import('@/views/busic/role/index.vue'),
        name: 'Role',
        meta: { title: '角色管理', keepAlive: true },
      },
      {
        path: 'organ',
        component: () => import('@/views/busic/organ/index.vue'),
        name: 'Organ',
        meta: { title: '账号管理', keepAlive: true },
      },
    ],
  },
]

export default busicRouter
